SRCPATH = ../src

CC   = g++ -g
COMPILE.C  = $(CC) -c 
#VPATH   = $(SRCPATH)
CXXFLAGS  =  -lgcc_s 
MAKEEXE   = $(CC) $(LDFLAGS)


LINK_LIB = -L. -lpthread  
LIB = -I$(SRCPATH)/lib
INCLUDE = -I$(SRCPATH)/include # ./include

OBJ = \
test_threadpool.o \
../../Mutex.o \
../../Runnable.o \
../../ThreadPool.o \

TARGET = test_threadpool

all:   $(TARGET)

$(TARGET): ${OBJ} 
	$(MAKEEXE) $^ -o $@          $(LINK_LIB)
${OBJ}: %.o:  %.cpp
	$(COMPILE.C)    $< -o $@ 
clean:     
	rm -f *.o $(TARGET)